package com.alibaba.citrus.ots.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class CheckController {
    // 健康检查接口
    @GetMapping("/checkpreload.htm")
    public @ResponseBody
    String checkPreload() {
        return "success";
    }

    // 预热接口
    @GetMapping("/preload.htm")
    public @ResponseBody
    String preload() {
        return "success";
    }
}
